From 271c14b545da991645006e54ef2d8726a5f5beb2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Tue, 16 Feb 2016 16:44:52 +0100 Subject: [PATCH] Use numeric build-date to get rid of locale problems when building reproducibly --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 2bf743c0..b2aea6b2 100755 --- a/debian/rules +++ b/debian/rules @@ -3,8 +3,8 @@ # Copyright © 2015 IOhannes m zmölnig # Description: Main Debian packaging script for JUCE -BUILD_DATE=$(shell date -u -d "$$(dpkg-parsechangelog -SDate)" +"%h %d %Y") -#export DEB_CPPFLAGS_MAINT_APPEND = -DBUILD_DATE='"$(BUILD_DATE)"' +#BUILD_DATE=$(shell LC_ALL=C date -u -d "$$(dpkg-parsechangelog -SDate)" +"%h %d %Y") +BUILD_DATE=$(shell date -u -d "$$(dpkg-parsechangelog -SDate)" +"%Y/%m/%d UTC") DEB_SRCDIR=debian/libbuilder/ BUILDDIR=$(DEB_SRCDIR)build -- 2.30.2